package com.tronsis.distribution.bean;

import java.io.Serializable;


public class AskQuitBean implements Serializable {


    /**
     * clear : true
     * clearType : RETURN(退还)
     * createdOn : string
     * creatorId : string
     * deliveryId : string
     * done : true
     * id : string
     * reason : string
     * receiverAddr : {"detail":"string","name":"string","phone":"string","region":"string"}
     * role : AGENT(代理)
     * state : VERIFY(待审核)
     * stateOn : string
     * stockFid : string
     * stockPrice : 0
     * money ：0
     * confirm ：boolean
     * priceFid ：string
     * userName : string
     */

    private boolean clear;
    private boolean confirm;
    private String clearType;
    private String createdOn;
    private String creatorId;
    private String deliveryId;
    private boolean done;
    private String id;
    private String reason;
    private ReceiverAddrBean receiverAddr;
    private String role;
    private String state;
    private String stateOn;
    private String stockFid; //stockFid判断上级又没有支付
    private String priceFid; //下级支付凭证
    private double stockPrice;
    private double money;
    private String userName;
    private Boolean leaderPass; //	上级通过状态，null表示未操作


    public Boolean getLeaderPass() {
        return leaderPass;
    }

    public void setLeaderPass(Boolean leaderPass) {
        this.leaderPass = leaderPass;
    }

    public boolean isClear() {
        return clear;
    }

    public void setClear(boolean clear) {
        this.clear = clear;
    }

    public String getClearType() {
        return clearType;
    }

    public void setClearType(String clearType) {
        this.clearType = clearType;
    }

    public String getCreatedOn() {
        return createdOn;
    }

    public void setCreatedOn(String createdOn) {
        this.createdOn = createdOn;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getDeliveryId() {
        return deliveryId;
    }

    public void setDeliveryId(String deliveryId) {
        this.deliveryId = deliveryId;
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ReceiverAddrBean getReceiverAddr() {
        return receiverAddr;
    }

    public void setReceiverAddr(ReceiverAddrBean receiverAddr) {
        this.receiverAddr = receiverAddr;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getStateOn() {
        return stateOn;
    }

    public void setStateOn(String stateOn) {
        this.stateOn = stateOn;
    }

    public String getStockFid() {
        return stockFid;
    }

    public void setStockFid(String stockFid) {
        this.stockFid = stockFid;
    }

    public double getStockPrice() {
        return stockPrice;
    }

    public void setStockPrice(double stockPrice) {
        this.stockPrice = stockPrice;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getPriceFid() {
        return priceFid;
    }

    public void setPriceFid(String priceFid) {
        this.priceFid = priceFid;
    }

    public boolean isConfirm() {
        return confirm;
    }

    public void setConfirm(boolean confirm) {
        this.confirm = confirm;
    }

    public static class ReceiverAddrBean implements Serializable{
        /**
         * detail : string
         * name : string
         * phone : string
         * region : string
         */

        private String detail;
        private String name;
        private String phone;
        private String region;

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getRegion() {
            return region;
        }

        public void setRegion(String region) {
            this.region = region;
        }
    }
}
